<?
include("session.php");

$site_name = "96365呼叫中心工单系统";
$logo_img = "logo.jpg";
$welcome_url = "home.php";
?>

<?
function showToolBar(){
?>
	<a href="javascript:toPage('home.php','工单列表')"><img src="/webkit/portal/images/61.png" alt="" />返回首页</a>|
	<a href="javascript:toPage('password_panel.php','修改密码')"><img src="/webkit/portal/images/40.png" alt="" />修改密码</a>
<?
}
?>

<?
function showMenuBar(){
?>
	<div class="subHeader">
	<div><span id="menuTextSpan">工单管理</span></div>
	</div>
	<div class="navPanel" id="subMenuDiv_1" style="display: block">
			<a href="javascript:toPage('order_list.php','工单列表')"><img src="/webkit/portal/images/28.png"/>工单列表</a>
			<a href="javascript:toPage('client_order_list.php','工单列表')"><img src="/webkit/portal/images/28.png"/>重障统计</a>
	</div>


	<!-- 待切换的子菜单　BEGIN -->
	<div class="navPanel" id="subMenuDiv_2" style="display: none">
			<a href="javascript:toPage('client_list.php','客户列表')"><img src="/webkit/portal/images/28.png"/>客户列表</a> 
	</div>
	<div class="navPanel" id="subMenuDiv_3" style="display: none">
			<a href="javascript:toPage('user_list.php','账号管理')"><img src="/webkit/portal/images/28.png"/>账号管理</a> 
			<a href="javascript:toPage('op_history_list.php','操作历史')"><img src="/webkit/portal/images/28.png"/>操作历史</a> 
	</div>
	<!-- 待切换的子菜单　END -->


	<div class="navSelect"> 
			<div class="navSeparator"></div>
			<a href="javascript:showMenu('1','工单管理')">
				<div class="navSelectimg"><img src="/webkit/portal/images/modify.png"/></div><div class="navSelectTxt">工单管理</div>
			</a>
			<?if($_SESSION['user_flag'] == 'admin') {?>
			<a href="javascript:showMenu('2','客户管理')">
				<div class="navSelectimg"><img src="/webkit/portal/images/modify.png"/></div><div class="navSelectTxt">客户管理</div>
			</a>
			<a href="javascript:showMenu('3','系统管理')">
				<div class="navSelectimg"><img src="/webkit/portal/images/modify.png"/></div><div class="navSelectTxt">系统管理</div>
			</a>
			<?}?>
	</div>
<?
}
?>

<?
include("../webkit/portal/frame.php");
?>